/**
 * 系统设置
 * Aaron create by 2019/06/14
 */
import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity()
export class Sys {
  @PrimaryGeneratedColumn({
    comment: '自增ID',
  })
  id: number;

  @Column({
    type: 'decimal',
    nullable: true,
    comment: '短信报警单次金额',
    precision: 7,
    scale: 2,
  })
  smsMoney: number;

  @Column({
    type: 'decimal',
    nullable: true,
    comment: '电话报警单次金额',
    precision: 7,
    scale: 2,
  })
  phoneMoney: number;
}
